package cn.com.ccxe.core.entity;

import java.io.Serializable;

/**
 * 监控类别
 * @author Administrator
 *
 */
public class MonitorType implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 监控类别唯一标识
	 */
	private int id;
	/**
	 * 监控类别的文本表述，如 股票、债券
	 */
	private String type;

	/**
	 * 是否启动监控 0:不启动，1启动
	 */
	private int isStart; 
	
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ID:").append(id);
		builder.append("Type:").append(type);
		return builder.toString();
	}
	
	public int getIsStart() {
		return isStart;
	}
	public void setIsStart(int isStart) {
		this.isStart = isStart;
	}
	public MonitorType(int monitorTypeId) {
		this.id = monitorTypeId;
	}
	public MonitorType() {}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
}
